import 'package:easy_refresh/easy_refresh.dart';
import 'package:get/get.dart';
import 'package:sainbainu/common/models/request/pager_request.dart';
import 'package:sainbainu/common/models/response/group_list_response.dart';
import 'package:sainbainu/common/repositories/group_repository.dart';

class GroupListState {
  // title
  final _title = "".obs;
  set title(value) => _title.value = value;
  get title => _title.value;

  /// 小组刷新控制器
  late EasyRefreshController groupRefreshController;

  /// 小组分页请求
  late PagerRequest groupPagerRequest;

  /// 小组仓库
  late GroupRepository groupRepository;

  /// 小组列表
  GroupListResponse groupListResponse = GroupListResponse(rows: [], total: 0);

  /// 是否有更多小组
  bool hasGroupMore = false;
}
